home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-21 | 353 b | 23 lines | [TEXT/ttxt] |
- --<<<
-
- if not (isdefined tcpstream) do process (new loader) "loadable/web"
-
- function bug0 -> (
- local x := new tcpstream host: "198.186.9.22" port: 80
- plug x
- )
-
- function bug1 -> (
- local x := new tcpstream host: "www" port: 80
- local t := ((read x) &)
- threadyieldto t
- threadyieldto t
- plug x
- )
-
- function domany n f ->
- for i in 1 to n do f()
-
- -->>
-
-